<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            margin:0;
            padding: 0;
        }
        .parent{
            width: 300px;
            height: 300px;
            border: 1px solid #333;
            display: grid;
            align-content: space-between;
        }
        .parent div{
            width: 50px;
            height: 50px;
            background-color: red;
            border-radius: 50%;
        }
        .parent div:nth-child(2){
            justify-self: center;
        }
        .parent div:last-child{
            justify-self:end;
        }
    </style>
</head>
<body>
    <div class="parent">
        <div></div>
        <div></div>
        <div></div>
    </div>
</body>
</html>